package com.dhcc.cdc.sys.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.cdc.busi.entity.CdcHospitalEntity;
import com.dhcc.cdc.busi.entity.CdcLocationEntity;
import com.dhcc.core.framework.base.entity.DataEntity;


/**
 * 配置信息
 * 
 * @ClassName: ConfigurationEntity
 * @Description: TODO
 * @author jumper
 * @date 2021-04-16 17:11:56
 */
@TableName("t_cdc_sys_configuration") 
public class ConfigurationEntity extends DataEntity<ConfigurationEntity> {
	private static final long serialVersionUID = 1L;
	
	//代码
	private String code;	
	//描述
	private String description;	
	//值
	private String value;	
	//备注
	private String note;	
	//产品线
	private Long productId;
    @TableField(exist = false)
    private CdcProductEntity product;
	private Long hospitalId;
	@TableField(exist = false)
	private CdcHospitalEntity hospital;
	//是否有效
	private Integer isActive;	

	public CdcProductEntity getProduct() {
        return product;
    }
    public void setProduct(CdcProductEntity product) {
        this.product = product;
    }
    /**
	 * 设置：代码
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：代码
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：描述
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：值
	 */
	public void setValue(String value) {
		this.value = value;
	}
	/**
	 * 获取：值
	 */
	public String getValue() {
		return value;
	}
	/**
	 * 设置：备注
	 */
	public void setNote(String note) {
		this.note = note;
	}
	/**
	 * 获取：备注
	 */
	public String getNote() {
		return note;
	}
	/**
	 * 设置：产品线
	 */
	public void setProductId(Long productId) {
		this.productId = productId;
	}
	/**
	 * 获取：产品线
	 */
	public Long getProductId() {
		return productId;
	}

	public Long getHospitalId() {
		return hospitalId;
	}

	public void setHospitalId(Long hospitalId) {
		this.hospitalId = hospitalId;
	}

	public CdcHospitalEntity getHospital() {
		return hospital;
	}

	public void setHospital(CdcHospitalEntity hospital) {
		this.hospital = hospital;
	}

	/**
	 * 设置：是否有效
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getIsActive() {
		return isActive;
	}
}
